package com.my.network.http.websocket;

import java.net.http.HttpClient;

/**
 * 通过 JDK 提供的 HttpClient 创建 websocket客户端
 *
 * @author: marshal
 * @date: 2023-04-13 10:00
 */
public class WebsocketClientTest {
    public static void main(String[] args) {
        HttpClient httpClient = HttpClient.newBuilder().build();
//        httpClient.newWebSocketBuilder().buildAsync().
    }
}
